#!/bin/sh

VERSION=30
PARENT_DIR=/home/lin/project/slcd/deb
DEB_FOLDER_NAME=slcd-deb

DEB_DIR=${PARENT_DIR}/${DEB_FOLDER_NAME}
RELEASE_DIR=${PARENT_DIR}/release

#release
RELEASE_DIR=${PARENT_DIR}/release

#src
BIN_DIR=

#program
PROGRAM_RELEASE_PATH=/home/lin/project/slcd/build-PISPlayer-Desktop/Release
PROGRAM_DEBUT_PATH=/home/lin/project/slcd/build-PISPlayer-Desktop/Debug
PROGRAME_NAME=PISPlayer

#compile
CROSS_COMPILE_DIR=

#FTP/SSD
FTP_PATH="/home/lin/DPL/ftp"
SSD_PATH="/media/rootfs/opt/sonicscan"

print()
{
	msg=$1
	if [ 2 -eq $# ]; then
		color=$2
	else
		color=32m
	fi
	
	echo "\033[${color} ${msg} \033[0m"
	echo ""
}

check_useage()
{
	if [ 1 -ne $# ]; then
		print "Usage: build_slcd_deb version"
		print "as:build_slcd_deb 2.3.1"
		exit -1
	else
		print "build_slcd_deb version GO ON"
	fi
}

check_file_exist()
{
	if [ -e $1 ]; then
		return 0
	else
		return 1
	fi	
}

